package io.wdb.modules.generator.generator.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.wdb.modules.generator.generator.entity.BsSendLogEntity;
import io.wdb.modules.generator.generator.service.BsSendLogService;
import io.wdb.modules.manager.heart.dao.BsSendLogDao;



@Service("bsSendLogService")
public class BsSendLogServiceImpl implements BsSendLogService {
	@Autowired
	private BsSendLogDao bsSendLogDao;
	
	@Override
	public BsSendLogEntity queryObject(String userId){
		return bsSendLogDao.queryObject(userId);
	}
	
	@Override
	public List<BsSendLogEntity> queryList(Map<String, Object> map){
		return bsSendLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bsSendLogDao.queryTotal(map);
	}
	
	@Override
	public void save(BsSendLogEntity bsSendLog){
		bsSendLogDao.save(bsSendLog);
	}
	
	@Override
	public void update(BsSendLogEntity bsSendLog){
		bsSendLogDao.update(bsSendLog);
	}
	
	@Override
	public void delete(String userId){
		bsSendLogDao.delete(userId);
	}
	
	@Override
	public void deleteBatch(String[] userIds){
		bsSendLogDao.deleteBatch(userIds);
	}
	
}
